/*公共样式*/
html, body, div, ul, ol, li, h1, h2, h3, h4, h5, h6, form, fieldset, input, button, textarea, select, p, th, td {
  margin: 0;
  padding: 0
}
h1, h2, h3, h4, h5, h6 {
  font-size: 100%;
}
ul, ol, li, form, input, textarea, p, th, td {
  list-style: none
}
h1, h2, h3, h4, h5, h6 {
  font-weight: normal;
}
button, input, textarea, select, option {
  font: inherit;
  outline: none;
}
body {
  font-family: Arial, "Microsoft Yahei";
  font-size:14px;
  background: #e7e7e7;
}
a {
  text-decoration: none;
  color: inherit;
}
.content {
  width: 1200px;
  margin: 0 auto;
}
img{
  width: 100%;
  height: 100%;
  border:none;
}
.cf:after {
  visibility: hidden;
  display: block;
  font-size: 0;
  content: ".";
  clear: both;
  height: 0;
  line-height: 0;
  overflow: hidden
}
.fl{
  float: left;
}
.cf {
  *zoom: 1
}
.ls{
  margin-right: 0!important;
}
.breadcrumb{
  margin-top: 20px;
  a{
    color: #959595;
  }
}
//应用墙等app列表
.category{
  margin-top: 20px;
  padding: 40px 0 0 70px;
  background-color: #fff;
}
.category-app{
  width: 150px;
  height: 156px;
  float: left;
  a{
    line-height: 22px;
  }
  img{
    width: 72px;
    height: 72px;
  }
  h5{
    font-size: 14px;
    white-space: nowrap;
    word-wrap: normal;
    word-break: normal;
    text-overflow: ellipsis;
    overflow: hidden;
    width: 90px;
  }
  p{
    font-size: 12px;
    color: #8e8e8f;
  }
}
//星星
.star-empty {
  position: relative;
  display: inline-block;
  width: 76px;
  height: 12px;
}
.star-0 {
  background-position: 0 0;
}
.star-1{
  background-position:0 -12px;
}
.star-2{
  background-position:0 -24px;
}
.star-3{
  background-position:0 -36px;
}
.star-4{
  background-position:0 -48px;
}
.star-5{
  background-position:0 -60px;
}
.star-6{
  background-position:0 -72px;
}
.star-7{
  background-position:0 -84px;
}
.star-8{
  background-position:0 -96px;
}
.star-9{
  background-position:0 -108px;
}
.star-10{
  background-position:0 -120px;
}

.star-hover {
  position: absolute;
  display: inline-block;
  background-image: url("/images/header/star.png");
  width: 76px;
  height: 12px;
  background-repeat: no-repeat;
}
//面包屑导航
.breadcrumb>li{
  display: inline-block;
}
.breadcrumb>li+li:before {
  padding: 0 5px;
  color: #ccc;
  content: "\003E";
}
//分页
#laypage{
  text-align: center;
  margin-top: 20px;
}
.main-con{
  float: left;
  width: 980px;
}
/*--公共样式*/
/*导航条*/
.header {
  width:100%;
  height: 70px;
  background-color: #cd433e;
  position:fixed;
  z-index:1000;
  li:hover {
    opacity: .6;
    color: #000
  }
  a {
    color: #fff;
  }
  .logo,.nav{
    float: left;
    display: inline-block;
    height: 70px;
  }
  .logo img {
    width: 109px;
    height: 70px;
  }
  .nav {
    margin-left: 40px;
    li {
      float: left;
      margin-right: 20px;
      height: 70px;
    }
    a {
      font-size: 16px;
      line-height: 70px;
    }
  }
  .user-drop,.login-reg {
    float: right;
    height: 70px;
  }
  .login-reg{
    li {
      float: left;
      padding-left: 10px;
      height: 70px;
      line-height: 70px;
    }
  }
  /*用户中心下拉框*/
  .user-drop{
    width: 190px;
    height: auto;
    margin-top: 12px;
    line-height: 48px;
    position: relative;
    &>li{
      height: 48px;
      background-color: #cd433e;
      background-image: url("/images/header/drop.png");
      background-repeat: no-repeat;
      background-position: 170px 20px;
      &:hover{
        opacity: 1;
        border: 1px solid #a53632;
      }
    }
    .user-info{
      span,img{
        margin-left: 10px;
        vertical-align: middle;
      }
      span{
        color: #fff;
      }
      img{
        display: block;
        float: right;
        margin-right:30px;
        margin-top: 4px;
        width: 40px;
        height: 40px;
        border-radius: 100%;
      }
      .user-info-list{
        display: none;
        &>li{
          height: 48px;
          width: 188px;
          margin-left: -1px;
          background-color: #fff;
          border-left: 1px solid #bababa;
          border-bottom: 1px solid #bababa;
          border-right: 1px solid #bababa;
          &:hover{
            background-color: #d5d5d7;
            opacity: 1;
          }
          a{
            display: block;
            height: 48px;
            padding-left: 76px;
            color: #282828;
          }
        }
        .user-dropBg(@y){
          background-image: url("/images/header/documents.png");
          background-repeat: no-repeat;
          background-position: 48px @y;
        }
        .sys-admin{
          .user-dropBg(-192px)
        }
        .user-center{
          .user-dropBg(0)
        }
        .user-post{
          .user-dropBg(-48px)
        }
        .user-info-comment{
          .user-dropBg(-96px)
        }
        .user-logout{
          .user-dropBg(-144px)
        }
      }
      &:hover .user-info-list{
        display: block;
      }
    }
  }
}
/*--导航条*/
//内容
.main{
  padding-top: 60px;
}
.container{
  width: 1200px;
  margin: 0 auto;
  position: relative
}
/*页尾*/
.footer{
  background-color: #3b3b3b;
  text-align: center;
  color: #fff;
  line-height: 30px;
  a{
    color: #fff;
  }
  .foot-container{
    width: 100%;
    height: 100px;
    background-color: #3b3b3b;
    padding-top: 10px;
  }
}
/*--页尾*/